package com.yun.springbootsecurity.mapper;

import com.yun.springbootsecurity.pojo.ResourePermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ResourePermissionMapper {

    @Select("select * from t_resource_permission where permission_id = #{permissionId}")
    List<ResourePermission> getResourePermissionByPermissionId(String permissionId);
}
